<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('user/teacher')}">老师管理</a></li>
        <li><a href="{:U('user/addteacher')}">新增老师</a></li>

    </ul>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th width="50">ID</th>
            <th width="50">头像</th>
            <th>用户名</th>
            <th>昵称</th>
            <th width="350">介绍</th>
            <th>邮箱</th>
            <th width="120">{:L('ACTIONS')}</th>
        </tr>
        </thead>
        <tbody>
        <php>$user_statuses=array("0"=>L('USER_STATUS_BLOCKED'),"1"=>L('USER_STATUS_ACTIVATED'),"2"=>L('USER_STATUS_UNVERIFIED'));</php>
        <foreach name="users" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td><img src="{:sp_get_user_avatar_url($vo[avatar])}" style="width:50px;height:50px"></td>
                <td>{$vo.user_login}</td>
                <td>{$vo.user_nicename}</td>
                <td>{$vo.signature}</td>
                <td>{$vo.user_email}</td>
                <td>
                    <a href="{:U("user/edit",array("id" => $vo['id']))}">编辑</a> |
                    <a href="{:U("user/delete",array("id" => $vo['id']))}">删除</a> |
                    <a href="{:U('admin/user/changepass',array('id'=>$vo['id']))}" >修改密码</a>

                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>